package com.bdqn.oa.dao;

import com.bdqn.oa.entity.PlanComment;

import java.sql.SQLException;

/**
 * @author Zhouxw
 * @date 2022/7/20 18:15
 */
public interface PlanCommentDao {
    /**
     * 新增一条计划点评数据
     *
     * @param planComment 计划点评
     * @return 影响行数
     */
    int savePlanComment(PlanComment planComment) throws SQLException;

    /**
     * 通过id获取计划点评数据
     *
     * @param id id
     * @return 计划点评
     */
    PlanComment getPlanCommentById(Integer id) throws SQLException;
}
